package org.capgemini.tienda.dao;

public abstract class DAOFactory {
	
	public static final int MYSQL = 1;
	
	public static DAOFactory getDAOFactory(int factory){
		
		switch (factory) {
	      case MYSQL:
	          return new MySQLDAOFactory();
	      default: 
	          return null;
		}
	}
	
	public abstract IProductosDAO getProductosDAO();

	public abstract IUsuariosDAO getUsuariosDAO();
	
}
